<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>糖尿病诊断辅助决策系统</title>
    <link href="html/bootstrap.css" rel="stylesheet">
    <link href="html/font-awesome.css" rel="stylesheet">
    <link href="html/animate.css" rel="stylesheet">
    <link href="html/owl.css" rel="stylesheet">
    <link href="html/owl_002.css" rel="stylesheet">
    <link href="html/prettyPhoto.css" rel="stylesheet">
    <link href="html/main.css" rel="stylesheet">
    <link href="../easyui/themes/default/easyui.css" rel="stylesheet">

    <style type="text/css">
        .zhixing_sty_1 {
            width: 270px;
            height: 40px;
            border-width: 0px;
            border-radius: 3px;
            background: #1E90FF;
            cursor: pointer;
            outline: none;
            font-family: Microsoft YaHei;
            color: white;
            font-size: 17px;
        }
        .zhixing_sty_1:hover {
            background: #5599FF;
        }
    </style>
</head>
<body style="padding-top: 50px;">
    <section id="features" style="padding-top:0;">
        <div class="container">
            <div class="section-header">
                <h2 class="section-title text-center wow fadeInDown animated" style="visibility: visible; animation-name: fadeInDown;">糖尿病诊断辅助决策系统</h2>
                <p   class="text-center wow fadeInDown animated" style="visibility: visible; animation-name: fadeInDown;text-indent:2em;">
                    糖尿病及并发症规则库诊断系统，是以现有中医诊疗糖尿病及并发症的经验为基础。
                    根据刻下症、实验室检查、查体、现病史、既往史五个维度为条件，并且以不同条件下不同内容，
                    进行自由组合，形成不同的规则和概率。用户通过客户端传入不同的条件、触发不同的规则，则返回不同的概率。
                    科研人员通过维护不同的规则来管理和控制不同条件下的概率。

                </p>
            </div>
            <div id="cont_01" class="row" style="border-top:thin double #2a95be;padding-top: 20px;">

                <ul id="one_ul" class="nav nav-pills">
                    <li class="active"><a href="javascript:void(0);">头部不适类</a></li>
                    <li><a href="javascript:void(0);">五官不适症状</a></li>
                    <li><a href="javascript:void(0);">饮食口味症状</a></li>
                    <li><a href="javascript:void(0);">颈、胸、腹、背、四肢不适类</a></li>
                    <li><a href="javascript:void(0);">二便及排泄物症状</a></li>
                    <li><a href="javascript:void(0);">全身不适类</a></li>
                    <li><a href="javascript:void(0);">舌象</a></li>
                    <li><a href="javascript:void(0);">脉象</a></li>
                </ul>

                <div id="one_cont" style="min-height: 200px;">
                    <table class="table table-bordered" style="margin-top: 20px;display: none;">
                        <tbody>
                            <tr>
                                <td style="cursor: pointer;width: 25%;">头重嗜睡<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">面色黧黑<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="width: 25%;">&nbsp;</td>
                                <td style="width: 25%;">&nbsp;</td>
                            </tr>
                        </tbody>
                    </table>
                    <table class="table table-bordered" style="margin-top: 20px;display: none;">
                        <tbody>
                            <tr>
                                <td style="cursor: pointer;width: 25%;">眼底出血<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">视物模糊<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">雀目或蚊蝇飞舞或失明<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">耳轮干枯<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            </tr>
                            <tr>
                                <td style="cursor: pointer;width: 25%;">语言謇涩<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="width: 25%;"></td>
                                <td style="width: 25%;"></td>
                                <td style="width: 25%;"></td>
                            </tr>
                        </tbody>
                    </table>
                    <table class="table table-bordered" style="margin-top: 20px;display: none;">
                        <tbody>
                            <tr>
                                <td style="cursor: pointer;width: 25%;">口渴多饮<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">多饮<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">喜冷饮<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">渴喜冷饮<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            </tr>
                            <tr>
                                <td style="cursor: pointer;width: 25%;">饮水量多<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">嗜食肥甘<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">多食<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">易饥多食<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            </tr>
                            <tr>
                                <td style="cursor: pointer;width: 25%;">心烦口苦<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">口干口渴<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">咽干口燥<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">恶心口黏<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            </tr>
                        </tbody>
                    </table>

                    <table class="table table-bordered" style="margin-top: 20px;display: none;">
                        <tbody>
                            <tr>
                                <td style="cursor: pointer;width: 25%;">心悸失眠<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">心烦易怒<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">心悸<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">五心烦热<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            </tr>
                            <tr>
                                <td style="cursor: pointer;width: 25%;">腹部胀大<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">肢体感觉异常<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">肢体麻木或疼痛<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">肢体疼痛<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            </tr>
                            <tr>
                                <td style="cursor: pointer;width: 25%;">肢体沉重<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">肢体沉重呕恶眩晕<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">下肢浮肿<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">下肢紫暗<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            </tr>
                            <tr>
                                <td style="cursor: pointer;width: 25%;">运动时下肢不适<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">间歇性跛行<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">四肢欠温<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">畏寒肢凉<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            </tr>
                            <tr>
                                <td style="cursor: pointer;width: 25%;">腰膝酸软<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">胸闷刺痛<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">脘腹胀满<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="width: 25%;"></td>
                            </tr>
                        </tbody>
                    </table>

                    <table class="table table-bordered" style="margin-top: 20px;display: none;">
                        <tbody>
                        <tr>
                            <td style="cursor: pointer;width: 25%;">多尿<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">饮一溲一<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">多尿（每天24小时排尿多于2500ml）<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">小便频数<input type="checkbox" value=""  name="" style="float: right;" /></td>
                        </tr>
                        <tr>
                            <td style="cursor: pointer;width: 25%;">夜尿增多<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">尿频量多<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">小便色黄<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">小便浑浊如脂如膏<input type="checkbox" value=""  name="" style="float: right;" /></td>
                        </tr>
                        <tr>
                            <td style="cursor: pointer;width: 25%;">溲赤便秘<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">大便干结<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="width: 25%;"></td>
                            <td style="width: 25%;"></td>
                        </tr>
                        </tbody>
                    </table>



                    <table class="table table-bordered" style="margin-top: 20px;display: none;">
                        <tbody>
                        <tr>
                            <td style="cursor: pointer;width: 25%;">神疲乏力<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">气短懒言<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">呼气烂苹果味<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">呕恶眩晕<input type="checkbox" value=""  name="" style="float: right;" /></td>
                        </tr>
                        <tr>

                            <td style="cursor: pointer;width: 25%;">眩晕耳鸣<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">自汗盗汗<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">低热颧红<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">中风偏瘫<input type="checkbox" value=""  name="" style="float: right;" /></td>
                        </tr>
                        <tr>
                            <td style="cursor: pointer;width: 25%;">形体消瘦<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">6个月内减轻达到原来体重的5%以上<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">浮肿<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">形体肥胖<input type="checkbox" value=""  name="" style="float: right;" /></td>
                        </tr>
                        <tr>
                            <td style="cursor: pointer;width: 25%;">失眠<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">多梦遗精<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">阳痿<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">皮肤瘙痒<input type="checkbox" value=""  name="" style="float: right;" /></td>
                        </tr>
                        <tr>

                            <td style="cursor: pointer;width: 25%;">皮肤干燥<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="width: 25%;"></td>
                            <td style="width: 25%;"></td>
                            <td style="width: 25%;"></td>
                        </tr>
                        </tbody>
                    </table>


                    <table class="table table-bordered" style="margin-top: 20px;display: none;">
                        <tbody>
                        <tr>
                            <td style="cursor: pointer;width: 25%;">舌质淡<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">舌质淡红<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">舌红<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">舌干红<input type="checkbox" value=""  name="" style="float: right;" /></td>
                        </tr>
                        <tr>
                            <td style="cursor: pointer;width: 25%;">舌红少津<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">舌红少苔<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">舌有瘀斑或舌下青筋显露<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">唇舌紫暗<input type="checkbox" value=""  name="" style="float: right;" /></td>
                        </tr>
                        <tr>
                            <td style="cursor: pointer;width: 25%;">舌有瘀斑<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">舌下青筋显露<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">苔薄白干或少苔<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">苔薄白<input type="checkbox" value=""  name="" style="float: right;" /></td>
                        </tr>
                        <tr>
                            <td style="cursor: pointer;width: 25%;">苔白干<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">苔白厚腻<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">苔黄燥<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">苔黄腻<input type="checkbox" value=""  name="" style="float: right;" /></td>
                        </tr>
                        </tbody>
                    </table>

                    <table class="table table-bordered" style="margin-top: 20px;display: none;">
                        <tbody>
                        <tr>
                            <td style="cursor: pointer;width: 25%;">脉弦细数<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">脉沉细无力<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">脉细数<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">脉弦滑<input type="checkbox" value=""  name="" style="float: right;" /></td>
                        </tr>
                        <tr>
                            <td style="cursor: pointer;width: 25%;">脉弦涩<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="width: 25%;"></td>
                            <td style="width: 25%;"></td>
                            <td style="width: 25%;"></td>
                        </tr>
                        </tbody>
                    </table>


                </div>



                <ul id="two_ul" class="nav nav-pills">
                    <li class="active"><a href="javascript:void(0);">实验室检查A</a></li>
                    <li><a href="javascript:void(0);">实验室检查B</a></li>
                    <li><a href="javascript:void(0);">查体A</a></li>
                    <li><a href="javascript:void(0);">查体B</a></li>
                </ul>
                <div id="two_cont" style="min-height: 200px;">
                    <table class="table table-bordered" style="margin-top: 20px;display: none;">
                        <tbody>
                            <tr>
                                <td style="cursor: pointer;width: 25%;">踏车平板试验后ABI下降15%-20%<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">血二氧化碳结合力降低<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">胰岛自身抗体阳性<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">尿酮体（+）<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            </tr>
                            <tr>
                                <td style="cursor: pointer;width: 25%;">尿糖（+）<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">尿HCG（+）<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">眼底检查见微动脉瘤<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">眼底检查见新生血管形成<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            </tr>
                            <tr>
                                <td style="cursor: pointer;width: 25%;">眼底检查见玻璃体积血<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="cursor: pointer;width: 25%;">眼底检查见视网膜前出血<input type="checkbox" value=""  name="" style="float: right;" /></td>
                                <td style="width: 25%;"></td>
                                <td style="width: 25%;"></td>
                            </tr>
                        </tbody>
                    </table>

                    <table class="table table-bordered" style="margin-top: 20px;display: none;">
                        <tbody>
                        <tr>
                            <td style="cursor: pointer;width: 25%;">随机尿白蛋白/肌酐比值&nbsp;<input  class="easyui-numberbox" style="width:80px;"   data-options="min:0,max:100000,editable:true,precision:2,value:0"><input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">血糖&nbsp;<input  class="easyui-numberbox"  style="width:80px;"  data-options="min:0,max:100000,editable:true,precision:2,value:0"><input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">低密度脂蛋白&nbsp;<input  class="easyui-numberbox"  style="width:80px;"  data-options="min:0,max:100000,editable:true,precision:2,value:0"><input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">血清酮体&nbsp;<input  class="easyui-numberbox"  style="width:80px;"  data-options="min:0,max:100000,editable:true,precision:2,value:0"><input type="checkbox" value=""  name="" style="float: right;" /></td>
                        </tr>
                        <tr>
                            <td style="cursor: pointer;width: 25%;">PH&nbsp;<input  class="easyui-numberbox"  style="width:80px;"  data-options="min:0,max:100000,editable:true,precision:2,value:0"><input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">空腹血糖&nbsp;<input  class="easyui-numberbox"  style="width:80px;"  data-options="min:0,max:100000,editable:true,precision:2,value:0"><input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">糖化血红蛋白&nbsp;<input  class="easyui-numberbox"  style="width:80px;"  data-options="min:0,max:100000,editable:true,precision:2,value:0"><input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">C肽浓度&nbsp;<input  class="easyui-numberbox"  style="width:80px;"  data-options="min:0,max:100000,editable:true,precision:2,value:0"><input type="checkbox" value=""  name="" style="float: right;" /></td>
                        </tr>
                        <tr>
                            <td style="cursor: pointer;width: 25%;">葡萄糖负荷后2h血糖&nbsp;<input  class="easyui-numberbox"  style="width:80px;"  data-options="min:0,max:100000,editable:true,precision:2,value:0"><input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">随机血糖&nbsp;<input  class="easyui-numberbox"  style="width:80px;"  data-options="min:0,max:100000,editable:true,precision:2,value:0"><input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">静息踝肱指数ABI&nbsp;<input  class="easyui-numberbox"  style="width:80px;"  data-options="min:0,max:100000,editable:true,precision:2,value:0"><input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">24h尿白蛋白排泄率 (UAER）&nbsp;<input  class="easyui-numberbox"  style="width:80px;"  data-options="min:0,max:100000,editable:true,precision:2,value:0"><input type="checkbox" value=""  name="" style="float: right;" /></td>
                        </tr>
                        <tr>
                            <td style="cursor: pointer;width: 25%;">血清胱抑素C（e GFRcys）&nbsp;<input  class="easyui-numberbox"  style="width:80px;"  data-options="min:0,max:100000,editable:true,precision:2,value:0"><input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">白蛋白尿阳性&nbsp;<input  class="easyui-numberbox"  style="width:80px;"  data-options="min:0,max:100000,editable:true,precision:2,value:0"><input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">肾小球滤过率GFR&nbsp;<input  class="easyui-numberbox"  style="width:80px;"  data-options="min:0,max:100000,editable:true,precision:2,value:0"><input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">某时段尿白蛋白排泄率（UAER）&nbsp;<input  class="easyui-numberbox"  style="width:80px;"  data-options="min:0,max:100000,editable:true,precision:2,value:0"><input type="checkbox" value=""  name="" style="float: right;" /></td>
                        </tr>
                        <tr>
                            <td style="cursor: pointer;width: 25%;">肌酐-胱抑素C (e GFRcreat-cys) &nbsp;<input  class="easyui-numberbox"  style="width:80px;"  data-options="min:0,max:100000,editable:true,precision:2,value:0"><input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">肌酐Scr&nbsp;<input  class="easyui-numberbox"  style="width:80px;"  data-options="min:0,max:100000,editable:true,precision:2,value:0"><input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="width: 25%;"></td>
                            <td style="width: 25%;"></td>
                        </tr>
                        </tbody>
                    </table>


                    <table class="table table-bordered" style="margin-top: 20px;display: none;">
                        <tbody>
                        <tr>
                            <td style="cursor: pointer;width: 25%;">踝反射异常<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">针刺痛觉异常<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">震动觉异常<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">压力觉异常<input type="checkbox" value=""  name="" style="float: right;" /></td>
                        </tr>
                        <tr>
                            <td style="cursor: pointer;width: 25%;">温度觉异常<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">足部感染<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">足部溃疡<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">足部深层组织破坏<input type="checkbox" value=""  name="" style="float: right;" /></td>
                        </tr>
                        <tr>
                            <td style="cursor: pointer;width: 25%;">皮肤温度降低<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">颈动脉杂音<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">股动脉杂音<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">足背和胫后动脉搏动减弱<input type="checkbox" value=""  name="" style="float: right;" /></td>
                        </tr>
                        </tbody>
                    </table>

                    <table class="table table-bordered" style="margin-top: 20px;display: none;">
                        <tbody>
                        <tr>
                            <td style="cursor: pointer;width: 25%;">收缩压&nbsp;<input  class="easyui-numberbox"  style="width:80px;"  data-options="min:0,max:100000,editable:true,precision:2,value:0"><input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">舒张压&nbsp;<input  class="easyui-numberbox"  style="width:80px;"  data-options="min:0,max:100000,editable:true,precision:2,value:0"><input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">踝动脉压&nbsp;<input  class="easyui-numberbox"  style="width:80px;"  data-options="min:0,max:100000,editable:true,precision:2,value:0"><input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">趾动脉压&nbsp;<input  class="easyui-numberbox"  style="width:80px;"  data-options="min:0,max:100000,editable:true,precision:2,value:0"><input type="checkbox" value=""  name="" style="float: right;" /></td>
                        </tr>
                        <tr>
                            <td style="cursor: pointer;width: 25%;">静息踝肱指数ABI&nbsp;<input  class="easyui-numberbox"  style="width:80px;"  data-options="min:0,max:100000,editable:true,precision:2,value:0"><input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">BMI&nbsp;<input  class="easyui-numberbox"  style="width:80px;"  data-options="min:0,max:100000,editable:true,precision:2,value:0"><input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="width: 25%;"></td>
                            <td style="width: 25%;"></td>
                        </tr>
                        </tbody>
                    </table>




                </div>


                <ul id="three_ul" class="nav nav-pills">
                    <li class="active"><a href="javascript:void(0);">现病史</a></li>
                    <li><a href="javascript:void(0);">既往史</a></li>
                </ul>


                <div id="three_cont" style="min-height: 200px;">
                    <table class="table table-bordered" style="margin-top: 20px;display: none;">
                        <tbody>
                        <tr>
                            <td style="cursor: pointer;width: 25%;">口服或注射降糖药<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="width: 25%;"></td>
                            <td style="width: 25%;"></td>
                            <td style="width: 25%;"></td>
                        </tr>
                        </tbody>
                    </table>

                    <table class="table table-bordered" style="margin-top: 20px;display: none;">
                        <tbody>
                        <tr>
                            <td style="cursor: pointer;width: 25%;">糖尿病病程＞10年<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">糖尿病病程＞5年<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">既往妊娠糖尿病<input type="checkbox" value=""  name="" style="float: right;" /></td>
                            <td style="cursor: pointer;width: 25%;">糖尿病<input type="checkbox" value=""  name="" style="float: right;" /></td>
                        </tr>
                        </tbody>
                    </table>



                </div>



            </div>
        </div>
    </section>

    <div id="sel_zong" style="width: 200px;height: 100vh;background-color: #F0F8FF;position: fixed;z-index: 99999;top: 0;right: 0;padding: 5px;">

        <div id="sel_1" style="width: 10%;float: left;font-size: 14px;cursor: pointer;" onclick="zxsj()">
            <label id="sel_1_btn" style="font-weight: bold;margin-top: 50vh;cursor: pointer;">>></label>
        </div>
        <div id="sel_2" style="width: 90%;float: left;" >
            <div style="height: 80vh;overflow-y: scroll;">
                <table class="table table-striped" style="font-size: 14px;">
                    <caption>已选择：</caption>
                    <tbody id="sel_2_text">
                    </tbody>
                </table>
            </div>
            <div style="height: 20vh;">
                <button type="button" class="btn btn-success" style="width: 100%;" onclick="zhixingyuce()">执行预测</button>
                <br/><br/>
                <button type="button" class="btn btn-danger" style="width: 100%;" onclick="chushihuashuju()">初始化数据</button>
            </div>


        </div>



    </div>








    <section id="get-in-touch">
        <div class="container">
            <div class="section-header">
                <h2 class="section-title text-center wow fadeInDown animated" style="visibility: visible; animation-name: fadeInDown;">联系我们</h2>
                <center>
                    <i class="fa fa-map-marker"></i>&nbsp;&nbsp;<span>地址:</span> 北京市东城区东直门内南小街16号&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <i class="fa fa-phone"></i>&nbsp;&nbsp;<span>联系电话:</span> (010) 6408-9614&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <i class="fa fa-fax"></i>&nbsp;&nbsp;<span>传真:</span> (010) 6408-9614&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
                    <i class="fa fa-envelope"></i>&nbsp;&nbsp;<span>邮箱:</span> 1404301946@qq.com&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <i class="fa fa-envelope"></i>&nbsp;&nbsp;<span>工作QQ:</span>  1404301946 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <i class="fa fa-envelope"></i>&nbsp;&nbsp;<span>邮编:</span>  100700
                </center>
            </div>
        </div>
    </section><!--/#get-in-touch-->




    <!-- 模态框（Modal） -->
    <div class="modal fade" id="myModal_result" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" >
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                    <h4 class="modal-title" id="myModalLabel">预测结果[状态：<label id="zhuangtai_text">正在加载中......</label>]</h4>
                </div>
                <div class="modal-body">

                    <table class="table">
                        <thead>
                        <tr>
                            <th>疾病</th>
                            <th>概率</th>
                            <th>类型</th>
                            <th>治疗方案</th>
                        </tr>
                        </thead>
                        <tbody id="myModal_result_content" style="font-size: 13px;">

                        </tbody>
                    </table>
                </div>
            </div><!-- /.modal-content -->
        </div><!-- /.modal -->
    </div>


    <script src="../js/jquery.min.js"></script>
    <script src="../easyui/jquery.easyui.min.js"></script>
    <script src="../bootstrap/js/bootstrap.min.js"></script>
    <script src="html/owl.js"></script>
    <script src="html/mousescroll.js"></script>
    <script src="html/smoothscroll.js"></script>
    <script src="html/jquery_003.js"></script>
    <script src="html/jquery_004.js"></script>
    <script src="html/jquery_002.js"></script>
    <script src="html/wow.js"></script>

    <script type="text/javascript">
        $("#myModal_result_content").html("");
        //执行预测
        function zhixingyuce() {
            var textstr = "";
            $("#sel_2_text").find("tr").each(function (_index,_this) {
                textstr +=  ","+$.trim($(_this).text());
            });
            if(textstr==""){
                alert("请选择症状");
                return false;
            }
            var finalarray = new Array();

            var textstrarray = textstr.split(",");
            for(var i in textstrarray){
                var fycont = $.trim(textstrarray[i]);
                if(fycont==""){
                    continue;
                }
                var fycont_1 = $.trim(fycont.split(":")[0]);
                if(fycont_1=="口服或注射降糖药"){
                    fycont_1 = "酮症酸中毒";

                }



                $.ajax({
                    type:"post",
                    url:"http://127.0.0.1/hoaservice/ruleapi/selectidbyzz",
                    cache:false,
                    async:false,
                    data:{
                        tname:fycont_1
                    },
                    success:function (_info) {

                        if(_info.code=="1"){
                            var dataobj = _info.data;
                            var tid = dataobj.tid;
                            var isval = dataobj.isval;
                            var tv1 = dataobj.tv1;
                            var tv1_danwei = dataobj.tv1_danwei;
                            var tv2 = dataobj.tv2;
                            var tv2_danwei = dataobj.tv2_danwei;
                            if(tid!=undefined && tid!=null) {

                                if (isval == "1.0" || isval == "1") {
                                    //为输入需要对比

                                    var zongbool = false;
                                    if (tv1 != "null" && tv1_danwei != "null") {
                                        var kstue = false;
                                        var _ks = parseFloat($.trim(fycont.split(":")[1]));
                                        var _kb = parseFloat(tv1);
                                        if (tv1_danwei == "＞") {
                                            kstue = _ks > _kb;
                                        } else if (tv1_danwei == "＜") {
                                            kstue = _ks < _kb;
                                        } else if (tv1_danwei == "≥") {
                                            kstue = _ks >= _kb;
                                        } else if (tv1_danwei == "≤") {
                                            kstue = _ks <= _kb;
                                        } else if (tv1_danwei == "=") {
                                            kstue = _ks = _kb;
                                        }
                                        zongbool = kstue;
                                    }
                                    if (tv2 != "null" && tv2_danwei != "null") {
                                        var kstue = false;
                                        var _ks = parseFloat($.trim(fycont.split(":")[1]));
                                        var _kb = parseFloat(tv2);
                                        if (tv2_danwei == "＞") {
                                            kstue = _ks > _kb;
                                        } else if (tv2_danwei == "＜") {
                                            kstue = _ks < _kb;
                                        } else if (tv2_danwei == "≥") {
                                            kstue = _ks >= _kb;
                                        } else if (tv2_danwei == "≤") {
                                            kstue = _ks <= _kb;
                                        } else if (tv2_danwei == "=") {
                                            kstue = _ks = _kb;
                                        }
                                        zongbool = kstue;
                                    }
                                    if (zongbool == true) {
                                        //finalarray+=";"+;
                                        finalarray.push(parseInt(tid.replace(".0", "")));
                                    }
                                } else {
                                    //为选择不用输入对比
                                    //finalarray+=";"+tid;
                                    finalarray.push(parseInt(tid.replace(".0", "")));

                                }
                            }
                        }
                    }
                });
            }
            //finalarray.sort();//排序

            var jkarray = new Array();
            for (let i = 1; i <= finalarray.length; i++) {
                var shuzu = getNumbers(finalarray, i,false);
                for(let j=0;j<shuzu.length;j++){
                    var shuzuarray = shuzu[j];
                    shuzuarray.sort(function(a,b){return a-b});

                    var jkarrays = "";
                    for(let jk=0;jk<shuzuarray.length;jk++){
                        jkarrays+=";"+$.trim(shuzuarray[jk]);
                    }
                    jkarray.push(jkarrays.substring(1));
                }
            }
            $("#myModal_result_content").html("");
            $("#myModal_result").modal("show");
            for(let i=0;i<jkarray.length;i++){
                var jkstr = jkarray[i];
                $.ajax({
                    type:"post",
                    url:"http://127.0.0.1/hoaservice/ruleapi/selecttnbinfo",
                    data:{
                        tiaojian:$.trim(jkstr)
                    },
                    cache:false,
                    async:false,
                    success:function (_info) {
                        if(_info.code=="1"){
                            var jsodata = _info.data;
                            var jibing = jsodata.jibing;
                            var gailv = jsodata.gailv;
                            var leixing = jsodata.leixing;
                            var zhiliaofangan = jsodata.zhiliaofangan;
                            if(jibing==undefined || jibing==null){
                                return false;
                            }
                            if(zhiliaofangan==undefined || zhiliaofangan==null){
                                zhiliaofangan = "暂无";
                            }

                            var myModal_result_contentstr = "<tr class=\"success\">"+
                                                                        "<td>"+jibing+"</td>"+
                                                                        "<td>"+gailv+"</td>"+
                                                                        "<td>"+leixing+"</td>"+
                                                                        "<td>"+zhiliaofangan+"</td>"+
                                                                "</tr>";

                            $("#myModal_result_content").append(myModal_result_contentstr);
                        }
                    },
                    error:function (_msg) {
                        alert(_msg);
                    }
                });
            }
            $("#zhuangtai_text").text("加载完毕");

           /* var sss = new Array();
            sss.push(104);
            sss.push(122);
            sss.push(99);
            sss.sort(function(a,b){return a-b});
            console.log(sss);
            */




        }
        
        
        /**
         *
         * @param {*} source 源数组
         * @param {*} count 要取出多少项
         * @param {*} isPermutation 是否使用排列的方式
         * @return {any[]} 所有排列组合,格式为 [ [1,2], [1,3]] ...
         */
        function getNumbers(source, count, isPermutation = true) {
            //如果只取一位，返回数组中的所有项，例如 [ [1], [2], [3] ]
            let currentList = source.map((item) => [item]);
            if (count === 1) {
                return currentList;
            }
            let result = [];
            //取出第一项后，再取出后面count - 1 项的排列组合，并把第一项的所有可能（currentList）和 后面count-1项所有可能交叉组合
            for (let i = 0; i < currentList.length; i++) {
                let current = currentList[i];
                //如果是排列的方式，在取count-1时，源数组中排除当前项
                let children = [];
                if (isPermutation) {
                    children = getNumbers(source.filter(item => item !== current[0]), count - 1, isPermutation);
                }
                //如果是组合的方法，在取count-1时，源数组只使用当前项之后的
                else {
                    children = getNumbers(source.slice(i + 1), count - 1, isPermutation);
                }
                for (let child of children) {
                    result.push([...current, ...child]);
                }
            }
            return result;
        }
        //初始化数据
        function chushihuashuju() {
            window.location.reload();
        }

        $(function () {
            init_kxz();
            init_jcx();//检查项
            init_bs();

            $("input[type='checkbox']").prop("checked",false);

            $("td").click(function () {
                var ischecked = $(this).find("input[type='checkbox']").prop("checked");
                var selcontent =  $(this).text();
                var selcontent_val = $(this).find("input[type='text']").val();
                if(selcontent_val!=undefined && selcontent_val!=null){
                    selcontent = selcontent+":"+selcontent_val;
                }


                if(ischecked){
                    $(this).find("input[type='checkbox']").prop("checked",false);
                    $("#sel_2_text").find("tr").each(function (_index,_this) {
                        var ehtext = $(_this).text();
                        ehtext = ehtext.split(":")[0];
                        selcontent = selcontent.split(":")[0];
                        if(ehtext==selcontent){
                            $(_this).remove();
                        }
                    });


                }else {
                    $(this).find("input[type='checkbox']").prop("checked",true);

                    $("#sel_2_text").append("<tr><td>"+selcontent+"</td></tr>");
                }
            });
            $("input[type='checkbox']").click(function () {

                var ischecked = $(this).prop("checked");
                if(ischecked){
                    $(this).prop("checked",false);
                }else {
                    $(this).prop("checked",true);
                }
            });
            $("td").find("input[type='text']").click(function () {
                return false;
            });


        });
        function init_kxz() {
            $("#one_cont").find("table:eq(0)").show();

            $("#one_ul").find("li").each(function (_index,_this) {
                $(_this).click(function () {
                    $("#one_cont").find("table").hide();
                    $("#one_cont").find("table:eq("+_index+")").show();
                    $("#one_ul").find("li").removeClass("active");
                    $("#one_ul").find("li:eq("+_index+")").addClass("active");



                });
            });
        }
        function init_jcx() {
            $("#two_cont").find("table:eq(0)").show();

            $("#two_ul").find("li").each(function (_index,_this) {
                $(_this).click(function () {
                    $("#two_cont").find("table").hide();
                    $("#two_cont").find("table:eq("+_index+")").show();
                    $("#two_ul").find("li").removeClass("active");
                    $("#two_ul").find("li:eq("+_index+")").addClass("active");



                });
            });
        }
        function init_bs() {
            $("#three_cont").find("table:eq(0)").show();

            $("#three_ul").find("li").each(function (_index,_this) {
                $(_this).click(function () {
                    $("#three_cont").find("table").hide();
                    $("#three_cont").find("table:eq("+_index+")").show();
                    $("#three_ul").find("li").removeClass("active");
                    $("#three_ul").find("li:eq("+_index+")").addClass("active");



                });
            });
        }
        function zxsj() {
            var sel_1_btn_text = $("#sel_1_btn").text();

            if(sel_1_btn_text==">>"){
                $("#sel_2").hide();
                $("#sel_zong").css("width","20px");
                $("#sel_1_btn").html("<<");

            }else if(sel_1_btn_text=="<<"){
                $("#sel_2").show();
                $("#sel_zong").css("width","200px");
                $("#sel_1_btn").html(">>");
            }


        }
        
        
    </script>


</body>
</html>